<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .table-container {
            display: table;  /*将盒子设置为表格盒子*/
        }
        .table-row {
            display: table-row; /*表格中的行*/
        }
        .table-cell {
            display: table-cell;  /*表格中的单元格*/
            padding: 5px;
            border: 1px solid black;
        }
    </style>
</head>
<body>
    <div class="table-container">
        <div class="table-row">
            <div class="table-cell">单元格1</div>
            <div class="table-cell">单元格2</div>
            <div class="table-cell">单元格3</div>
        </div>
        <div class="table-row">
            <div class="table-cell">单元格4</div>
            <div class="table-cell">单元格5</div>
            <div class="table-cell">单元格6</div>
        </div>
    </div>
</body>
</html>